package com.songshuai.webapi.crm.service;


import com.songshuai.webapi.baseapi.dto.feign.response.DictionaryDto;
import com.songshuai.webapi.baseapi.dto.feign.response.MasterSourceItemDto;

import java.util.List;

public interface DictionaryService {

    Integer queryDictIdByNameAndType(String name,Integer typeId);

    List<DictionaryDto> queryDictListByType(Integer typeId);

    Integer queryDictIdFromList(String name,List<DictionaryDto> dictionaryDtoList);

    Integer querySourceIdByName(String name);

    List<MasterSourceItemDto> querySourceList();

    Integer querySourceIdFromList(String name,List<MasterSourceItemDto> sourceItemDtoList);

}
